# <---------- set c++ standard ------------->
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

aux_source_directory(${PROJECT_SOURCE_DIR}/src/offine1 SRC_LIST)
aux_source_directory(${PROJECT_SOURCE_DIR}/src/common SRC_COMMON_LIST)

SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)

add_executable(offine1 ${SRC_LIST} ${SRC_COMMON_LIST})

target_link_libraries(offine1 log4cpp pthread mysqlclient redis++ hiredis)
